import time

for i in range(1,21):
    total = 20
    current = i
    percent = (i/20)*100
    time.sleep(0.2)
    print ('\r'+'#'*i+ '>>>>%d%% (%d/%d)' %(percent,current,total), end='')